package com.ys.entity.hr;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="THR_OperateCompanyBeian", catalog="Id")
public class ThrOperateCompanyBeian extends BaseEntity<ThrOperateCompanyBeian> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private Long createChangeId;
	@YsField(nameDataBase="OperatorChangeId", nameJava="operatorChangeId", typeDataBase="bigint")
	private Long operatorChangeId;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="FullName", nameJava="fullName", typeDataBase="varchar")
	private String fullName;
	@YsField(nameDataBase="TaxNo", nameJava="taxNo", typeDataBase="varchar")
	private String taxNo;
	@YsField(nameDataBase="RatioStatus", nameJava="ratioStatus", typeDataBase="tinyint")
	private Integer ratioStatus;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="OperateOrgId", nameJava="operateOrgId", typeDataBase="bigint")
	private Long operateOrgId;
	@YsField(nameDataBase="CanvassApplyItemId", nameJava="canvassApplyItemId", typeDataBase="bigint")
	private Long canvassApplyItemId;
	@YsField(nameDataBase="OperationsAttribute", nameJava="operationsAttribute", typeDataBase="tinyint")
	private Integer operationsAttribute;
	@YsField(nameDataBase="OperationsStatus", nameJava="operationsStatus", typeDataBase="tinyint")
	private Integer operationsStatus;
	@YsField(nameDataBase="Corporation", nameJava="corporation", typeDataBase="varchar")
	private String corporation;
	@YsField(nameDataBase="CorporationIdCard", nameJava="corporationIdCard", typeDataBase="varchar")
	private String corporationIdCard;
	@YsField(nameDataBase="CorporationPhone", nameJava="corporationPhone", typeDataBase="varchar")
	private String corporationPhone;
	@YsField(nameDataBase="StartPerformance", nameJava="startPerformance", typeDataBase="decimal")
	private BigDecimal startPerformance;
	@YsField(nameDataBase="SpecialPerformance", nameJava="specialPerformance", typeDataBase="decimal")
	private BigDecimal specialPerformance;
	@YsField(nameDataBase="TrainingFees", nameJava="trainingFees", typeDataBase="decimal")
	private BigDecimal trainingFees;
	@YsField(nameDataBase="Businesslicense", nameJava="businesslicense", typeDataBase="varchar")
	private String businesslicense;
	@YsField(nameDataBase="CooperateAgreement", nameJava="cooperateAgreement", typeDataBase="varchar")
	private String cooperateAgreement;
	@YsField(nameDataBase="OtherFile", nameJava="otherFile", typeDataBase="varchar")
	private String otherFile;
	@YsField(nameDataBase="ManageRatio", nameJava="manageRatio", typeDataBase="decimal")
	private BigDecimal manageRatio;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public ThrOperateCompanyBeian setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public ThrOperateCompanyBeian setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public ThrOperateCompanyBeian setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Long getCreateChangeId() {
		return createChangeId;
	}
	public ThrOperateCompanyBeian setCreateChangeId(Long createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Long getOperatorChangeId() {
		return operatorChangeId;
	}
	public ThrOperateCompanyBeian setOperatorChangeId(Long operatorChangeId) {
		this.operatorChangeId = operatorChangeId;
		return this;
	}
	public String getCode() {
		return code;
	}
	public ThrOperateCompanyBeian setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public ThrOperateCompanyBeian setName(String name) {
		this.name = name;
		return this;
	}
	public String getFullName() {
		return fullName;
	}
	public ThrOperateCompanyBeian setFullName(String fullName) {
		this.fullName = fullName;
		return this;
	}
	public String getTaxNo() {
		return taxNo;
	}
	public ThrOperateCompanyBeian setTaxNo(String taxNo) {
		this.taxNo = taxNo;
		return this;
	}
	public Integer getRatioStatus() {
		return ratioStatus;
	}
	public ThrOperateCompanyBeian setRatioStatus(Integer ratioStatus) {
		this.ratioStatus = ratioStatus;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public ThrOperateCompanyBeian setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Long getOperateOrgId() {
		return operateOrgId;
	}
	public ThrOperateCompanyBeian setOperateOrgId(Long operateOrgId) {
		this.operateOrgId = operateOrgId;
		return this;
	}
	public Long getCanvassApplyItemId() {
		return canvassApplyItemId;
	}
	public ThrOperateCompanyBeian setCanvassApplyItemId(Long canvassApplyItemId) {
		this.canvassApplyItemId = canvassApplyItemId;
		return this;
	}
	public Integer getOperationsAttribute() {
		return operationsAttribute;
	}
	public ThrOperateCompanyBeian setOperationsAttribute(Integer operationsAttribute) {
		this.operationsAttribute = operationsAttribute;
		return this;
	}
	public Integer getOperationsStatus() {
		return operationsStatus;
	}
	public ThrOperateCompanyBeian setOperationsStatus(Integer operationsStatus) {
		this.operationsStatus = operationsStatus;
		return this;
	}
	public String getCorporation() {
		return corporation;
	}
	public ThrOperateCompanyBeian setCorporation(String corporation) {
		this.corporation = corporation;
		return this;
	}
	public String getCorporationIdCard() {
		return corporationIdCard;
	}
	public ThrOperateCompanyBeian setCorporationIdCard(String corporationIdCard) {
		this.corporationIdCard = corporationIdCard;
		return this;
	}
	public String getCorporationPhone() {
		return corporationPhone;
	}
	public ThrOperateCompanyBeian setCorporationPhone(String corporationPhone) {
		this.corporationPhone = corporationPhone;
		return this;
	}
	public BigDecimal getStartPerformance() {
		return startPerformance;
	}
	public ThrOperateCompanyBeian setStartPerformance(BigDecimal startPerformance) {
		this.startPerformance = startPerformance;
		return this;
	}
	public BigDecimal getSpecialPerformance() {
		return specialPerformance;
	}
	public ThrOperateCompanyBeian setSpecialPerformance(BigDecimal specialPerformance) {
		this.specialPerformance = specialPerformance;
		return this;
	}
	public BigDecimal getTrainingFees() {
		return trainingFees;
	}
	public ThrOperateCompanyBeian setTrainingFees(BigDecimal trainingFees) {
		this.trainingFees = trainingFees;
		return this;
	}
	public String getBusinesslicense() {
		return businesslicense;
	}
	public ThrOperateCompanyBeian setBusinesslicense(String businesslicense) {
		this.businesslicense = businesslicense;
		return this;
	}
	public String getCooperateAgreement() {
		return cooperateAgreement;
	}
	public ThrOperateCompanyBeian setCooperateAgreement(String cooperateAgreement) {
		this.cooperateAgreement = cooperateAgreement;
		return this;
	}
	public String getOtherFile() {
		return otherFile;
	}
	public ThrOperateCompanyBeian setOtherFile(String otherFile) {
		this.otherFile = otherFile;
		return this;
	}
	public BigDecimal getManageRatio() {
		return manageRatio;
	}
	public ThrOperateCompanyBeian setManageRatio(BigDecimal manageRatio) {
		this.manageRatio = manageRatio;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public ThrOperateCompanyBeian setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public ThrOperateCompanyBeian setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public ThrOperateCompanyBeian setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static ThrOperateCompanyBeian thrOperateCompanyBeian(
		String bid,
		Integer effectStock,
		Long createChangeId,
		Long operatorChangeId,
		String code,
		String name,
		String fullName,
		String taxNo,
		Integer ratioStatus,
		String remark,
		Long operateOrgId,
		Long canvassApplyItemId,
		Integer operationsAttribute,
		Integer operationsStatus,
		String corporation,
		String corporationIdCard,
		String corporationPhone,
		BigDecimal startPerformance,
		BigDecimal specialPerformance,
		BigDecimal trainingFees,
		String businesslicense,
		String cooperateAgreement,
		String otherFile,
		BigDecimal manageRatio,
		Integer status
			) {
		ThrOperateCompanyBeian entity = new ThrOperateCompanyBeian();
		entity.setBid(bid);
		entity.setEffectStock(effectStock);
		entity.setCreateChangeId(createChangeId);
		entity.setOperatorChangeId(operatorChangeId);
		entity.setCode(code);
		entity.setName(name);
		entity.setFullName(fullName);
		entity.setTaxNo(taxNo);
		entity.setRatioStatus(ratioStatus);
		entity.setRemark(remark);
		entity.setOperateOrgId(operateOrgId);
		entity.setCanvassApplyItemId(canvassApplyItemId);
		entity.setOperationsAttribute(operationsAttribute);
		entity.setOperationsStatus(operationsStatus);
		entity.setCorporation(corporation);
		entity.setCorporationIdCard(corporationIdCard);
		entity.setCorporationPhone(corporationPhone);
		entity.setStartPerformance(startPerformance);
		entity.setSpecialPerformance(specialPerformance);
		entity.setTrainingFees(trainingFees);
		entity.setBusinesslicense(businesslicense);
		entity.setCooperateAgreement(cooperateAgreement);
		entity.setOtherFile(otherFile);
		entity.setManageRatio(manageRatio);
		entity.setStatus(status);
		return entity;
	}
}